﻿#  --------------------------------
#  Copyright (c) Bernard White. All rights reserved.
#  This source code is made available under the terms of the Microsoft Public License (Ms-PL)
#  http://mocklet.codeplex.com/license
#  ---------------------------------

# Purpose:
# This script deregisters the Mocklet snapin for i386 versions.

# Remove the snapin if registered in current PowerShell context.
Remove-PSSnapin Mocklet

set-alias installutil $env:windir\Microsoft.NET\Framework\v2.0.50727\installutil

# Deregister the snapin.
installutil -u Mocklet.dll
